import Router from "vue-router";
import Vue from "vue";
Vue.use(Router);

export default new Router({
  mode: "history",
  base: "/todo-web",
  routes: [
    {
      path: "/",
      redirect: "/todo",
    },
    {
      path: "/todo",
      name: "Todo",
      component: () => import("@/pages/todo/index"),
    },
  ],
});
